/* Custom CSS for Shop, Contact and other pages to match home page theme */

/* Category Blocks Without Images */
.category-block-modern {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.category-block-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
}

.category-icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.category-block-modern:hover .category-icon-box {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.category-icon-box i {
    font-size: 32px;
    color: #fff;
}

.category-block-modern h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.category-block-modern h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-block-modern:hover h4 a {
    color: #667eea;
}

.category-block-modern .text {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Shop Page Title & Breadcrumb */
.shop-page-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 0;
    margin-bottom: 0;
}

.shop-page-title .content-box {
    padding: 0;
}

.shop-page-title .border-line {
    display: none;
}

.shop-page-title .bread-crumb {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-page-title .bread-crumb li {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-right: 20px;
}

.shop-page-title .bread-crumb li:last-child {
    color: #fff;
    font-weight: 600;
    margin-right: 0;
}

.shop-page-title .bread-crumb li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.shop-page-title .bread-crumb li a:hover {
    color: #fff;
}

.shop-page-title .bread-crumb li:before {
    content: '/';
    position: absolute;
    right: -15px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: normal;
}

.shop-page-title .bread-crumb li:last-child:before {
    display: none;
}

/* Shop Page Styles */
.shop-page-wrapper {
    padding: 80px 0;
}

.shop-page-wrapper .page-title-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    margin-bottom: 50px;
}

.shop-page-wrapper .page-title-section h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.shop-page-wrapper .breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.shop-page-wrapper .breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.shop-page-wrapper .breadcrumb-nav a:hover {
    color: #fff;
}

/* Shop Sidebar */
.shop-sidebar {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.shop-sidebar-widget {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.shop-sidebar-widget:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.shop-sidebar-widget-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.shop-search-form {
    position: relative;
}

.shop-search-form input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #eee;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.shop-search-form input:focus {
    outline: none;
    border-color: #667eea;
}

.shop-search-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #667eea;
    color: #fff;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.shop-search-form button:hover {
    background: #5568d3;
}

.category-filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-filter-list li {
    margin-bottom: 10px;
}

.category-filter-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.category-filter-list a:hover {
    background: #f8f9fa;
    color: #667eea;
}

.category-filter-list a.active {
    background: #667eea;
    color: #fff;
}

.category-filter-list a span {
    display: inline-block;
}

.filter-count {
    color: #999;
    font-size: 0.9rem;
    font-weight: normal;
}

.category-filter-list a.active .filter-count {
    color: rgba(255, 255, 255, 0.9);
}

/* Filter Select Dropdowns */
.filter-select-form {
    margin-bottom: 0;
}

.filter-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 45px;
}

.filter-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.filter-select:hover {
    border-color: #667eea;
}

.filter-select option {
    padding: 10px;
    font-weight: 500;
    color: #333;
}

.filter-select option:first-child {
    font-weight: 600;
    color: #667eea;
}

/* Price Filter Form */
.price-filter-form {
    margin-top: 10px;
}

.price-input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

.price-input {
    display: flex;
    flex-direction: column;
}

.price-input label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
    font-weight: 500;
}

.price-input input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #eee;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.price-input input:focus {
    outline: none;
    border-color: #667eea;
}

.price-range-display {
    text-align: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #667eea;
}

.price-filter-btn {
    width: 100%;
    padding: 12px;
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 10px;
}

.price-filter-btn:hover {
    background: #5568d3;
}

.price-filter-clear {
    display: block;
    text-align: center;
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.price-filter-clear:hover {
    color: #5568d3;
    text-decoration: underline;
}

/* Product Grid */
.shop-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.shop-product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.shop-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.shop-product-header {
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.shop-product-price {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.shop-product-old-price {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-left: 10px;
}

.shop-product-discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4757;
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.shop-product-image {
    position: relative;
    overflow: hidden;
    min-height: 250px;
    background: #f8f9fa;
}

.shop-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.shop-product-card:hover .shop-product-image img {
    transform: scale(1.1);
}

.shop-product-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.shop-product-card:hover .shop-product-actions {
    opacity: 1;
}

.shop-product-action-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.shop-product-action-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

.shop-product-action-btn.view:hover {
    background: #2ed573;
}

.shop-product-action-btn.cart:hover {
    background: #ff4757;
}

/* Icon Fallbacks - Show SVG/emoji if flaticon not loaded */
.shop-product-action-btn {
    position: relative;
}

.shop-product-action-btn i {
    font-size: 18px;
    display: inline-block;
    line-height: 1;
    width: 18px;
    height: 18px;
}

.shop-product-action-btn .icon-fallback {
    display: none;
    font-size: 18px;
    line-height: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Show fallback if icon is empty or font not loaded */
.shop-product-action-btn i:empty + .icon-fallback {
    display: inline-block;
}

/* Ensure icons are visible and centered */
.shop-product-action-btn i,
.shop-product-action-btn .icon-fallback {
    vertical-align: middle;
}

/* Force icon visibility */
.shop-product-action-btn i.flaticon-shopping-bag,
.shop-product-action-btn i.flaticon-heart {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* If flaticon font is not loaded, hide icon and show fallback */
@supports not (font-family: "Flaticon") {
    .shop-product-action-btn i.flaticon-shopping-bag,
    .shop-product-action-btn i.flaticon-heart {
        display: none !important;
    }
    .shop-product-action-btn .icon-fallback {
        display: inline-block !important;
    }
}

/* Related Product Icons */
.related-product-action-btn {
    position: relative;
}

.related-product-action-btn i {
    font-size: 16px;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    line-height: 1;
    width: 16px;
    height: 16px;
}

.related-product-action-btn .icon-fallback {
    display: none;
    font-size: 16px;
    line-height: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.related-product-action-btn i:empty + .icon-fallback {
    display: inline-block;
}

/* Product Detail Action Icons */
.product-detail-action-btn .icon {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.product-detail-action-btn .icon i {
    font-size: 18px;
    line-height: 1;
    vertical-align: middle;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.product-detail-action-btn .icon .icon-fallback {
    display: none;
    font-size: 18px;
    line-height: 1;
    vertical-align: middle;
}

.product-detail-action-btn .icon i:empty + .icon-fallback {
    display: inline-block;
}

/* Force flaticon visibility */
.flaticon-shopping-bag,
.flaticon-heart,
.flaticon-cart,
.flaticon-star,
.flaticon-left-arrow,
.flaticon-arrow-point-to-right,
.flaticon-plus,
.flaticon-minus-sign,
.flaticon-facebook-app-symbol,
.flaticon-twitter,
.flaticon-linkedin-big-logo {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-family: "Flaticon" !important;
    font-style: normal !important;
    font-weight: normal !important;
    font-variant: normal !important;
    line-height: 1 !important;
    text-rendering: optimizeLegibility !important;
    -moz-osx-font-smoothing: grayscale !important;
    -webkit-font-smoothing: antialiased !important;
}

/* Fallback if font not loaded */
@supports not (font-family: "Flaticon") {
    .shop-product-action-btn i,
    .related-product-action-btn i,
    .product-detail-action-btn .icon i {
        display: none !important;
    }
    .shop-product-action-btn .icon-fallback,
    .related-product-action-btn .icon-fallback,
    .product-detail-action-btn .icon .icon-fallback {
        display: inline-block !important;
    }
}

.shop-product-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.shop-product-title {
    margin: 0 0 10px 0;
    font-size: 1rem;
    line-height: 1.4;
}

.shop-product-title a {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
    transition: color 0.3s;
}

.shop-product-title a:hover {
    color: #667eea;
}

.shop-product-category {
    margin: 0 0 15px 0;
    font-size: 0.85rem;
    color: #999;
}

.shop-product-category a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.shop-product-category a:hover {
    color: #667eea;
}

.shop-product-stock {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 600;
}

.shop-product-stock.in-stock {
    color: #2ed573;
}

.shop-product-stock.out-of-stock {
    color: #ff4757;
}

/* Empty State */
.shop-empty-state {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.shop-empty-state-icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.shop-empty-state h3 {
    color: #666;
    margin-bottom: 10px;
}

.shop-empty-state p {
    color: #999;
    margin-bottom: 30px;
}

.shop-empty-state-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #3742fa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
}

.shop-empty-state-btn:hover {
    background: #2f3542;
    color: #fff;
}

/* Contact Page Styles */
.contact-page-wrapper {
    padding: 80px 0;
}

.contact-info-section {
    padding: 70px 0 50px;
}

.contact-info-block {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    height: 100%;
}

.contact-info-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.contact-info-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
}

.contact-info-block h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.contact-info-block p {
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.contact-info-block a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-block a:hover {
    color: #5568d3;
}

.google-map-section {
    margin: 50px 0;
}

.google-map-section iframe {
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 8px;
}

.contact-form-section {
    padding: 70px 0 80px;
}

.contact-form-wrapper {
    background: #fff;
    border-radius: 8px;
    padding: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form-group {
    margin-bottom: 25px;
}

.contact-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.contact-form-group input,
.contact-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
    font-family: inherit;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.contact-form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form-submit-btn {
    padding: 15px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.contact-form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Pagination */
.shop-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.shop-pagination .pagination {
    margin: 0;
}

.shop-pagination .page-link {
    color: #667eea;
    border-color: #eee;
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 5px;
    transition: all 0.3s;
}

.shop-pagination .page-link:hover {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
}

.shop-pagination .page-item.active .page-link {
    background: #667eea;
    border-color: #667eea;
    color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
    .shop-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .shop-sidebar {
        margin-bottom: 30px;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .shop-page-wrapper {
        padding: 40px 0;
    }
    
    .shop-page-wrapper .page-title-section {
        padding: 40px 0;
    }
    
    .shop-page-wrapper .page-title-section h2 {
        font-size: 1.8rem;
    }
    
    .shop-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .contact-info-section,
    .contact-form-section {
        padding: 40px 0;
    }
    
    .contact-form-wrapper {
        padding: 20px;
    }
}

@media (max-width: 575px) {
    .shop-products-grid {
        grid-template-columns: 1fr;
    }
}

/* Product Detail Page Styles */
.product-detail-page {
    padding: 80px 0;
}

.product-detail-rating-stock {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.product-detail-rating-stock .rating i {
    color: #ffc107;
}

.product-detail-stock-status {
    font-weight: 600;
}

.product-detail-stock-status.in-stock {
    color: #2ed573;
}

.product-detail-stock-status.out-of-stock {
    color: #ff4757;
}

.product-detail-actions-wrapper {
    margin-top: 30px;
}

.product-detail-actions-wrapper .action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.product-detail-action-btn {
    flex: 1;
    min-width: 150px;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.product-detail-action-btn.add-to-cart {
    background: #2ed573;
    color: white;
}

.product-detail-action-btn.add-to-cart:hover {
    background: #26c965;
    transform: translateY(-2px);
}

.product-detail-action-btn.buy-now {
    background: #3742fa;
    color: white;
}

.product-detail-action-btn.buy-now:hover {
    background: #2f3542;
    transform: translateY(-2px);
}

.product-detail-action-btn:disabled {
    background: #ccc;
    color: white;
    cursor: not-allowed;
}

.product-detail-share-options {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.product-detail-share-options span {
    margin-right: 10px;
    font-weight: 600;
}

.product-detail-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
}

.product-detail-share-btn:hover {
    transform: scale(1.1);
    color: white;
}

.product-detail-share-btn.facebook:hover {
    background: #3b5998;
}

.product-detail-share-btn.twitter:hover {
    background: #1da1f2;
}

.product-detail-share-btn.linkedin:hover {
    background: #0077b5;
}

.product-detail-features {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.product-detail-features h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.product-detail-features p {
    color: #666;
    line-height: 1.8;
}

/* Related Products */
.related-products-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.related-products-section .section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #333;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.related-product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.related-product-card:hover .related-product-image img {
    transform: scale(1.05);
}

.related-product-card:hover .related-product-actions {
    opacity: 1;
}

.related-product-header {
    position: relative;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.related-product-price {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    display: block;
}

.related-product-old-price {
    color: rgba(255,255,255,0.8);
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-left: 10px;
}

.related-product-discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4757;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.related-product-image {
    position: relative;
    overflow: hidden;
    min-height: 200px;
    background: #f8f9fa;
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-product-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.related-product-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.related-product-action-btn:hover {
    transform: scale(1.1);
    color: white;
}

.related-product-action-btn.view:hover {
    background: #2ed573;
}

.related-product-action-btn.cart:hover {
    background: #ff4757;
}

.related-product-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-product-title {
    margin: 0 0 10px 0;
    font-size: 1rem;
}

.related-product-title a {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
    transition: color 0.3s;
}

.related-product-title a:hover {
    color: #667eea;
}

.related-product-category {
    margin: 0 0 10px 0;
    font-size: 0.85rem;
    color: #999;
}

.related-product-category a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s;
}

.related-product-category a:hover {
    color: #667eea;
}

.related-product-stock {
    margin-top: auto;
    font-size: 0.85rem;
    font-weight: 600;
}

.related-product-stock.in-stock {
    color: #2ed573;
}

.related-product-stock.out-of-stock {
    color: #ff4757;
}

/* Cart Page Styles */
.cart-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cart-empty-state-icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.cart-empty-state h3 {
    color: #666;
    margin-bottom: 10px;
}

.cart-empty-state p {
    color: #999;
    margin-bottom: 30px;
}

.cart-empty-state-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #3742fa;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
}

.cart-empty-state-btn:hover {
    background: #2f3542;
    color: white;
}

/* Product Type Buttons */
.product-type-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.product-type-btn {
    padding: 8px 18px;
    border: 2px solid;
    border-radius: 25px;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.product-type-btn:nth-child(1) {
    border-color: #4a6bff;
    color: #4a6bff;
}

.product-type-btn:nth-child(2) {
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.product-type-btn:nth-child(3) {
    border-color: #6bceff;
    color: #6bceff;
}

.product-type-btn:nth-child(4) {
    border-color: #a162e8;
    color: #a162e8;
}

.product-type-btn:nth-child(5) {
    border-color: #42ba96;
    color: #42ba96;
}

.product-type-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-type-btn.active {
    color: white !important;
    border-color: transparent !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-type-btn.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, currentColor 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: -1;
    border-radius: 25px;
}

.product-type-btn:nth-child(1).active::after {
    background: linear-gradient(135deg, #4a6bff 0%, #2541b2 100%);
}

.product-type-btn:nth-child(2).active::after {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff4757 100%);
}

.product-type-btn:nth-child(3).active::after {
    background: linear-gradient(135deg, #6bceff 0%, #1e90ff 100%);
}

.product-type-btn:nth-child(4).active::after {
    background: linear-gradient(135deg, #a162e8 0%, #6a3093 100%);
}

.product-type-btn:nth-child(5).active::after {
    background: linear-gradient(135deg, #42ba96 0%, #218838 100%);
}

/* Swiper Styles */
.ul-product-details-img-slider {
    width: 100%;
    height: auto;
    position: relative;
}

.ul-product-details-img-slider .swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Terms, FAQ, Privacy Pages */
.terms-page,
.faq-page,
.policy-page {
    max-width: 960px;
    margin: 40px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.terms-page h1,
.faq-page h1,
.policy-page h1 {
    margin-top: 0;
    font-size: 2rem;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.terms-page h3,
.faq-page h3,
.policy-page h3 {
    margin-top: 30px;
    font-size: 1.2rem;
    color: #333;
}

.terms-page p,
.terms-page li,
.faq-page p,
.faq-page li,
.policy-page p,
.policy-page li {
    line-height: 1.7;
    color: #555;
}

.terms-page table,
.policy-page table {
    width: 100%;
    margin-top: 15px;
    border-collapse: collapse;
}

.terms-page table th,
.terms-page table td,
.policy-page table th,
.policy-page table td {
    padding: 12px;
    text-align: left;
    vertical-align: top;
    border: 1px solid #ddd;
}

.terms-page table th,
.policy-page table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* FAQ Accordion */
.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: #f8f9fa;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question.active {
    background-color: #667eea;
    color: white;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: #fff;
}

.faq-answer.active {
    max-height: 500px;
    padding: 20px;
}

.faq-icon {
    transition: transform 0.3s;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .terms-page,
    .faq-page,
    .policy-page {
        padding: 20px;
        margin: 20px 10px;
    }

    .terms-page h1,
    .faq-page h1,
    .policy-page h1 {
        font-size: 1.5rem;
    }

    .terms-page h3,
    .faq-page h3,
    .policy-page h3 {
        font-size: 1.1rem;
    }

    .terms-page table,
    .policy-page table {
        font-size: 0.9rem;
    }
}

/* Header Black Background */
.main-header {
    background: #000 !important;
}

.header-upper {
    background: #000 !important;
}

.header-lower {
    background: #fff !important;
}

.sticky-header {
    background: #fff !important;
}

/* Category Tabs Styles */
.category-tabs-wrapper {
    margin-bottom: 30px;
    border-bottom: 2px solid #e5e5e5;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    border: none;
    gap: 5px;
}

.category-tabs .nav-item {
    margin: 0;
}

.category-tabs .nav-link {
    display: block;
    padding: 12px 24px;
    margin-bottom: -2px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-color, #6A6A6A);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.category-tabs .nav-link:hover {
    color: var(--theme-color, #FF6B00);
    background: rgba(255, 107, 0, 0.05);
    border-bottom-color: rgba(255, 107, 0, 0.3);
}

.category-tabs .nav-link.active {
    color: var(--theme-color, #FF6B00);
    background: transparent;
    border-bottom-color: var(--theme-color, #FF6B00);
    font-weight: 600;
}

.category-tab-content {
    margin-top: 30px;
}

.category-tab-content .tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-tab-content .tab-pane.active {
    display: block;
    opacity: 1;
}

.category-tab-content .tab-pane.show {
    display: block;
}

.category-tab-header {
    margin-bottom: 30px;
}

.category-tab-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
    color: var(--title-color, #111111);
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--theme-color, #FF6B00);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    color: var(--secondary-color, #153979);
    transform: translateX(5px);
}

.view-all-link i {
    font-size: 12px;
}

@media (max-width: 768px) {
    .category-tabs {
        flex-direction: column;
        gap: 0;
    }
    
    .category-tabs .nav-link {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #e5e5e5;
        border-left: 3px solid transparent;
        margin-bottom: 0;
    }
    
    .category-tabs .nav-link.active {
        border-left-color: var(--theme-color, #FF6B00);
        border-bottom-color: #e5e5e5;
    }
    
    .category-tab-title {
        font-size: 18px;
    }
    
    .category-tab-header .d-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

